package com.saasovation.agilepm.application.sprint;

/**
 * 将待办事项提交给冲刺命令
 * @author learn
 */
public class CommitBacklogItemToSprintCommand {

    /**
     * 待办事项ID
     */
    private String backlogItemId;
    /**
     * 冲刺ID
     */
    private String sprintId;
    /**
     * 租户ID
     */
    private String tenantId;

    public CommitBacklogItemToSprintCommand(
            String tenantId,
            String sprintId,
            String backlogItemId) {

        super();

        this.backlogItemId = backlogItemId;
        this.sprintId = sprintId;
        this.tenantId = tenantId;
    }

    /**
     * 获取待办事项ID
     * @return                  返回字符串
     */
    public String getBacklogItemId() {
        return backlogItemId;
    }

    /**
     * 设置待办事项ID
     * @param backlogItemId     待办事项ID
     */
    public void setBacklogItemId(String backlogItemId) {
        this.backlogItemId = backlogItemId;
    }

    /**
     * 获取冲刺ID
     * @return                  返回字符串
     */
    public String getSprintId() {
        return sprintId;
    }

    /**
     * 设置冲刺ID
     * @param sprintId          冲刺ID
     */
    public void setSprintId(String sprintId) {
        this.sprintId = sprintId;
    }

    /**
     * 获取租户ID
     * @return                  返回字符串
     */
    public String getTenantId() {
        return tenantId;
    }

    /**
     * 设置租户ID
     * @param tenantId          租户ID
     */
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}
